package org.orz.cloud.auth;

/**
 * 认证相关的常量
 */
public class AuthConstants {
    //-------------------thread local中的key------------------------------------------------------------------------------------
    public static final String USER_TOKEN_KEY = "USER_TOKEN";

    public static final String TRACE_ID = "TRACE_ID";


    //-------------------redis中的key------------------------------------------------------------------------------------
    /** 存储用户的token信息 */
    public static final String REDIS_KEY_USER_TOKEN = "USER_TOKEN:";
    /** 存储用户的信息 */
    public static final String REDIS_KEY_USER_INFO = "USER_INFO:";

    //-------------------header中的key------------------------------------------------------------------------------------
    /**工作台*/
    public static final String HEADER_WORKBENCH = "workbench";

    public static final String HEADER_AUTHORIZATION = "authorization";
}
